//
//  SecondViewController.h
//  homework_UITableView
//
//  Created by dllo on 16/6/17.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <UIKit/UIKit.h>

@class SecondViewController;

@protocol SecondViewControllerDelegate <NSObject>

-(void)sendMessageWithName:(NSString *)name withNum:(NSString *)num withQQ:(NSString *)QQ withImage:(UIImage *)image withIndexPath:(NSIndexPath *)indexPath;

//-(void)sendMessage:(NSString *)text;

@end

@interface SecondViewController : UIViewController

@property (nonatomic, assign)id<SecondViewControllerDelegate>delegate;

@property (nonatomic, retain) NSIndexPath *indexPath;

@property (nonatomic, copy) NSString *text;
@property (nonatomic, retain) UIImage *image;
@property (nonatomic, copy) NSString *nameText;
@property (nonatomic, copy) NSString *numText;
@property (nonatomic, copy) NSString *QQText;

@end
